-
Notifications
You must be signed in to change notification settings - Fork 697
Revert attach/detach command line interface changes #2693
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The nightly CI still fails: https://github.com/linux-nvme/nvme-cli/actions/runs/13201431769 I've checked if we don't hunt a ghost, that is around 3 weeks ago the 6.14 bits have been merged into Linus' tree. I thought we are following this tree. Anyway, I didn't spot any changes which could explain this problem. |
|
Agreed. Thank you. |
|
Something is a still off. I hoped a revert would help but the test run of the nightly CI doesn't pass. |
|
Can we retest the CI with the commit cccefc4 that pushed before the blkdev changes and also the TP changes not applied? tokunori@tokunori-desktop:~/nvme-cli$ git log --oneline -2 565b30e2
565b30e2 nvme: use blkdev for direct if namespace-id specified
cccefc48 argconfig: add argconfig_get_value() |
I just tested this, but the |
|
Noted so looks the test fail on the revert branch caused by the TP changes. Thank you. |
|
After looking into this issue, it turns out that 565b30e (nvme: use blkdev for direct if namespace-id specified) When trying to detach(/attach) a new namespace, Lines 2955 to 2959 in 724836d
So reverting this change also makes sense to me until we come up with a version that does not break this scenario. Reverting just the commits of #2665 was not enough to let the tests pass as the test cases were also modified, which uncovered some more errors. Lines 407 to 414 in 1024886
Somehow the block device for ns > 1 does not appear in the device tree waiting for it after attaching it to the controller. I will still look a bit further into this issue as I have not found the solution yet. :) |
Yes I can agree with the revert.
The commit was to resolve the issue #2662 by using the blkdev instead of the chardev. Note: The PR #2671 changes are to revert the blkdev changes partially to use the blkdev only for IO commands. If you have any time or chance to retest the PR changes also as if the test fail resolved it will be helpful for me to investigate the cause. But sorry not sure if the changes can be merged actually even if the works correctly. |
|
The whole open device logic is a convoluted and very hard to understand. I think it's time to redesign it. That's why I haven't pulled #2671, it just makes it even more complex. |
I am not Tokunori Ikegami [email protected] |
I see. Thanks :)
Sounds good. |
I am so sorry. This probably isn't the first time this happened to you. I will pay attention next time :) |
|
The failing
would need to be changed to something like: @igaw Do you want to add this change in this PR, or should I send a new PR for this? |
|
Wow, that's a nasty one to debug! Great catch! Let me rebase this PR and add your change to it. |
This reverts commit 946029c. Causes regression in nightly CI runs. The problem couldn't be figured out thus revert it. Signed-off-by: Daniel Wagner <[email protected]>
This reverts commit 565b30e. Causes regression in nightly CI runs. The problem couldn't be figured out thus revert it. Signed-off-by: Daniel Wagner <[email protected]>
This reverts commit cccefc4. Causes regression in nightly CI runs. The problem couldn't be figured out thus revert it. Signed-off-by: Daniel Wagner <[email protected]>
The failing run-nightly-tests GitHub action is caused by a missing bind-mount option of the /dev directory. Without the 'shared' bind-propagation the device tree is not reliably updated within the container. This causes newly created namespaces not to show up. Signed-off-by: Dennis Maisenbacher <[email protected]>
|
The test run with nightly CI action was successful! Although this was a nasty one to figure out, I am sure the improvements in the test framework (polling etc) is a great step forward. Again thanks everyone! |
These changes broke the nightly CI runs. We were unable to figure out in time what it causes the fail, thus revert these changes.
Introduced here with #2665 to address #2662
Fixes: #2668